package com.zxc.service;

import com.zxc.entity.SysUser;

import java.util.List;
import java.util.Map;

public interface SysUserService {

    Map login(String username);

    List<SysUser> selectSysUserById(Integer userId);

    List<SysUser> selectSysUserBySysUserName(String commonCreater);

    String selectSysUserBySysUserId(String svrCreateBy);

    List<Map> loadMenu(Integer userId);

    List<Map> loadPermission(int userId);

    String getSysUserRole(String sysUserName);
}
